package com.jmb.service;

import com.jmb.po.UserInformation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {

    UserInformation findByTel(String tel);

    List<UserInformation> findAll();

    boolean addUser(UserInformation user);

    boolean delUser(String tel);

    boolean updateUser(UserInformation user);

    UserInformation findById(Integer id);

    UserInformation findTelAndPass(String tel,String password);

}
